﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Domain.TraceabilityDto
{
    /// <summary>
    /// 企业信息
    /// </summary>
    public class EnterpriseDto
    {
        /// <summary>
        /// 企业ID
        /// </summary>
        public int EnterpriseId { get; set; }

        /// <summary>
        /// 养殖场
        /// </summary>
        public string? livestockFarm { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string? PersonInCharge { get; set; }

        /// <summary>
        /// 存栏数量
        /// </summary>
        public int InventoryQuantity { get; set; }

        /// <summary>
        /// 屠宰公司名称
        /// </summary>
        public string? SlaughterCompanyName { get; set; }

        /// <summary>
        /// 屠宰公司成立时间
        /// </summary>
        public DateTime EstablishmentTime { get; set; }

        /// <summary>
        /// 屠宰公司简介
        /// </summary>
        public string? CompanyProfile { get; set; }

        /// <summary>
        /// 省份ID
        /// </summary>
        public int ProvinceId { get; set; }

        /// <summary>
        /// 省名称
        /// </summary>
        public string? ProvinceName { get; set; }

        /// <summary>
        /// 城市ID
        /// </summary>
        public int CityId { get; set; }

        /// <summary>
        /// 市名称
        /// </summary>
        public string? CityName { get; set; }

        /// <summary>
        /// 县ID
        /// </summary>
        public int CountyId { get; set; }

        /// <summary>
        /// 县名称
        /// </summary>
        public string? CountyName { get; set; }

        /// <summary>
        /// 深加工公司名称
        /// </summary>
        public string? DeepProcessingCompanyName { get; set; }

        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? ProductionLicenseNumber { get; set; }

        /// <summary>
        /// 商品ID
        /// </summary>
        public int ShoppingId { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedDate { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdatedBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdatedDate { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        public string? DeletedBy { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletedDate { get; set; }

        /// <summary>
        /// 逻辑状态
        /// </summary>
        public bool IsDeleted { get; set; } = false;

        /// <summary>
        /// 图片ID
        /// </summary>
        public int PictureId { get; set; }

        /// <summary>
        /// 图片名称
        /// </summary>
        public string? PictureName { get; set; }
    }
}
